import {createBrowserRouter} from "react-router-dom"
import Home from "../pages/Home"
import Cate from "../pages/Cate"
import Ticket from "../pages/Ticket"
import My from "../pages/My"
import App from "../App"
let router = createBrowserRouter([
    {
        path:'/',
        element:<App/>,
        children:[
            {
                path:'home',
                element:<Home/>
            },
            {
                path:'cate',
                element:<Cate/>
            },
            {
                path:'ticket',
                element:<Ticket/>
            },
            {
                path:'my',
                element:<My/>
            }
        ]
    }
    
    
])
export default router